package com.xgzit.xgzmall.seckill.config;

import org.springframework.context.annotation.Configuration;
import org.springframework.scheduling.annotation.EnableAsync;
import org.springframework.scheduling.annotation.EnableScheduling;

/**
 * 1、@EnableScheduling 开启定时任务
 * 2、@EnableAsync 开启异步
 * @Author xgz
 * @Date 2021-07-11 21:31
 */
@EnableAsync
@EnableScheduling
@Configuration
public class ScheduledConfig {
}
